import { GithubOutlined } from '@ant-design/icons';
import { DefaultFooter } from '@ant-design/pro-components';
const Footer: React.FC = () => {
  const defaultMessage = 'lack出品';
  const currentYear = new Date().getFullYear();
  return (
    <DefaultFooter
      copyright={`${currentYear} ${defaultMessage}`}
      links={[
        {
          key: 'plant',
          title: 'QQ',
          href: 'www.qq.com',
          blankTarget: true,
        },
        {
          key: 'Gitee',
          title: (
            <>
              <GithubOutlined />
              柯垚Gitee
            </>
          ),
          href: 'https://gitee.com/ke-yao-yao/user-center',
          blankTarget: true,
        },
        {
          key: 'WX',
          title: '微信',
          href: 'https://ant.design',
          blankTarget: true,
        },
      ]}
    />
  );
};
export default Footer;
